Below are problems to practice for the final exam. The problems below, together with the problems from the two midterm exams, are a good representation of what to expect on the final exam. There will also be a few short answer and true-false questions on the final exam. The final exam is comprehensive. The final exam is Thursday, December 11 from 4:30–7:00pm and will take place in Snow Hall 302.
1. Let \( f(x,y) = \begin{cases} x^2+y^2, & \text{if } x^2+y^2 < 1 \\ 1, & \text{if } x^2+y^2 \geq 1. \end{cases} \) Determine at which points \(f(x,y)\) is continuous.
2. Show that the function \( f(x,y) = \begin{cases} \dfrac{(2^x-1)\sin(y)}{xy}, & \text{if } xy \ne 0 \\ \ln(2), & \text{if } xy = 0 \end{cases} \) is continuous at \((0,0)\).
3. Use the limit definition to show that \(f(x,y) = 5x+4y^2\) is differentiable at \((2,1)\).
4. From class, we saw that if the first order partial derivatives of \(f(x,y)\) are continuous in a neighborhood of \((a,b)\), then \(f(x,y)\) is differentiable at \((a,b)\). This problem shows why those conditions are necessary. Let \( g(x,y) = \begin{cases} \dfrac{2xy(x+y)}{x^2+y^2}, & \text{if } (x,y)\ne(0,0) \\ 0, & \text{if } (x,y)=(0,0) \end{cases} \). Show that:
- (i) \(g(x,y)\) is continuous at \((0,0)\).
- (ii) Use the limit definitions to show that \(g_x(0,0)\) and \(g_y(0,0)\) exist and are equal to 0.
- (iii) Conclude that \(L(x,y) = 0\).
- (iv) Show that \(g(x,y)\) is not differentiable at \((0,0)\).
- (v) Show that \(g_x(x,y)\) is not continuous at \((0,0)\).
(ii) \(\dfrac{\partial g}{\partial x}(0,0) = \lim_{h\to 0} \dfrac{g(0+h,0)-g(0,0)}{h} = \lim_{h\to 0} \dfrac{0}{h} = 0\). \(\dfrac{\partial g}{\partial y}(0,0) = \lim_{h\to 0} \dfrac{g(0,0+h)-g(0,0)}{h} = \lim_{h\to 0} \dfrac{0}{h} = 0\).
(iii) \(L(x,y) = 0(x-0)+0(y-0) = 0\).
(iv) Thus, \(g(x,y)-L(x,y) = g(x,y)\). If \(g(x,y)\) were differentiable at \((0,0)\), then the limit (when \((x,y)\ne(0,0)\))
(v) Differentiating the non-zero part of \(g(x,y)\) gives \(g_x(x,y) = \dfrac{-2x^2y^2+4xy^3+2y^4}{(x^2+y^2)^2}\). If we take the limit along the line \(y=0\), then \(\lim_{(x,y)\to(0,0)} g_x(x,y) = 0\), while if we take the limit along the line \(x=0\), the limit becomes 2. Thus, \(\lim_{(x,y)\to(0,0)} g_x(x,y)\) does not exist, so that \(g_x(x,y)\) is not continuous at \((0,0)\).
5. Find and classify the critical points for \(f(x,y) = x^4-4xy+2y^2\).
For \((-1,-1)\): \(D(-1,-1) = 32 > 0\) and \(f_{xx}(-1,-1) = 12 > 0\). Thus, \(f(x,y)\) has a relative minimum value (of \(-3\)) at \((-1,-1)\).
For \((1,1)\): \(D(1,1) = 32 > 0\) and \(f_{xx}(1,1) = 12 > 0\). Thus, \(f(x,y)\) has a relative minimum value (of \(-3\)) at \((1,1)\).
6. Find the absolute maximum and absolute minimum values of \(f(x,y) = x^2y\) on the closed and bounded set \(D: 0 \le 4x^2+9y^2 \le 36\).
7. Let \(S\) be the surface parametrized by \(G(u,v) = (2u\sin(\tfrac{v}{2}), 2u\cos(\tfrac{v}{2}), 3v)\), with \(0 \le u \le 1\) and \(0 \le v \le 2\pi\).
- (i) Find the tangent plane to \(S\) at the point \(P = G(1, \tfrac{\pi}{3})\).
- (ii) Find the surface area of \(S\).
Surface area \(\displaystyle = \int\!\!\int_D ||\mathbf{T}_u \times \mathbf{T}_v||\, dA = \int_0^{2\pi}\!\int_0^1 2\sqrt{9+u^2}\, du\, dv = 4\pi \int_0^1 \sqrt{9+u^2}\, du\)
8. Let \(C\) be a curve from the point \(P\) to the point \(Q\) in the \(xy\)-plane. Let \(R\) be the region enclosed by \(C\) and the two radial lines from the origin to \(P\) and \(Q\). (See the figure below.) Use Green's Theorem to show that \(\int_C \mathbf{F}\cdot d\mathbf{r}\) gives the area of \(R\), for \(\mathbf{F} = -\dfrac{y}{2}\vi + \dfrac{x}{2}\vj\).
Take \(\mathbf{r}_1(t) = (at,bt)\), \(0 \le t \le 1\) for the parametrization of \(C_1\). Then \(\mathbf{F}(\mathbf{r}(t)) = (-\tfrac{1}{2}bt, \tfrac{1}{2}at)\) and \(\mathbf{r}'(t) = (a,b)\). Therefore \(\mathbf{F}(\mathbf{r}(t))\cdot \mathbf{r}'(t) = -\tfrac{1}{2}abt+\tfrac{1}{2}abt = 0\). So \(\int_{C_1} \mathbf{F}\cdot d\mathbf{r} = 0\). The calculation showing \(\int_{C_2} \mathbf{F}\cdot d\mathbf{r} = 0\) is similar.
9. Let \(C\) be the triangle with vertices \((1,0,0)\), \((0,2,0)\), \((0,0,1)\). Compute \(\int_C \mathbf{F}\cdot d\mathbf{r}\), for the vector field \(\mathbf{F} = (x^2+yz,\, x+y,\, y-z^2)\).
\(C_1: \mathbf{r}(t) = (1-t,2t,0)\), with \(0\le t\le 1\). \(\mathbf{r}'(t)=(-1,2,0)\). \(\mathbf{F}(\mathbf{r}(t)) = ((1-t)^2, 1+t, 2t)\).
\(C_2: \mathbf{r}(t) = (0,2-2t,t)\), \(0\le t\le 1\), \(\mathbf{r}'(t)=(0,-2,1)\), \(\mathbf{F}(\mathbf{r}(t)) = (2t-2t^2, 2-2t, 2-2t-t^2)\).
\(C_3: \mathbf{r}(t) = (t,0,1-t)\), \(\mathbf{r}'(t)=(1,0,-1)\), \(\mathbf{F}(\mathbf{r}(t)) = (t^2, t, -(1-t)^2)\).
Therefore,
10. Let \(f(x,y) = \sqrt{|xy|}\). Write out details showing:
- (a) \(\dfrac{\partial f}{\partial x}(0,0)\) and \(\dfrac{\partial f}{\partial y}(0,0)\) exist.
- (b) \(f(x,y)\) is not differentiable at \((0,0)\).
- (c) Part (b) does not contradict part (a).
(b) From (a), the linear approximation to \(f(x,y)\) at \((0,0)\) is \(L(x,y)=0\). Therefore, \(f(x,y)-L(x,y) = f(x,y)\). In order for \(f(x,y)\) to be differentiable at \((0,0)\), the limit
(c) Part (b) does not contradict part (a) because the first order partial derivatives of \(f(x,y)\) are not continuous at \((0,0)\). In fact, the partial derivatives of \(f(x,y)\) are not defined at all points \((x,y)\) near \((0,0)\), so we cannot evaluate the required limit to test continuity. To see this, let's try to calculate \(\dfrac{\partial f}{\partial x}\) along the line \(x=0\), with \(y\ne 0\).
11. Evaluate \(\int\!\!\int_S \text{Curl}\,\mathbf{F}\cdot d\mathbf{S}\), for \(\mathbf{F} = (-y+z\sin(x),\, x,\, z^3)\) and \(S\) the surface defined by the equation \(x^2+\dfrac{y^2}{4}+z^2+z^4x^2=1\), with \(z\ge 0\).
\(\mathbf{r}'(t) = (-\sin(t), 2\cos(t), 0)\) and \(\mathbf{F}(\mathbf{r}(t)) = (-2\sin(t), \cos(t), 0)\). Therefore,
12. Verify the Divergence Theorem for \(\mathbf{F} = (-x^2, y^2, -z^2)\) and \(S\) the rectangular box \([0,3]\times[-1,2]\times[1,2]\).
To calculate the surface integral, we must sum the integrals over each face of the given rectangular box.
Front Face, \(S_1\): \(S_1\) is given by \((3,y,z)\), with \(-1\le y\le 2\), \(1\le z\le 2\) and \(\mathbf{n}=\vi\). We will see the bounds on \(y\) and \(z\) are just used to calculate the area of the front face. The same will hold for the other five faces. So: \(\mathbf{F}\) on \(S_1\) is given by \((-9, y^2, -z^2)\) and thus \(\mathbf{F}\cdot\mathbf{n} = -9\). Therefore,
Back Face, \(S_2\): \(S_2\) is given by \((0,y,z)\), with \(-1\le y\le 2\), \(1\le z\le 2\) and \(\mathbf{n}=-\vi\). \(\mathbf{F}\) on \(S_2\) is given by \((0,y^2,-z^2)\) and thus \(\mathbf{F}\cdot\mathbf{n} = 0\). Therefore, \(\int\!\!\int_{S_2} \mathbf{F}\cdot d\mathbf{S} = 0\).
Left Face, \(S_3\): \(S_3\) is given by \((x,-1,z)\), with \(0\le x\le 3\), \(1\le z\le 2\) and \(\mathbf{n}=-\vj\). \(\mathbf{F}\) on \(S_3\) is given by \((-x^2,1,-z^2)\) and thus \(\mathbf{F}\cdot\mathbf{n} = -1\). Therefore,
Right Face, \(S_4\): \(S_4\) is given by \((x,2,z)\), with \(0\le x\le 3\), \(1\le z\le 2\) and \(\mathbf{n}=\vj\). \(\mathbf{F}\) on \(S_4\) is given by \((-x^2,4,-z^2)\) and thus \(\mathbf{F}\cdot\mathbf{n} = 4\). Therefore,
Top Face, \(S_5\): \(S_5\) is given by \((x,y,2)\), with \(0\le x\le 3\), \(-1\le y\le 2\) and \(\mathbf{n}=\vk\). \(\mathbf{F}\) on \(S_5\) is given by \((-x^2,y^2,-4)\) and thus \(\mathbf{F}\cdot\mathbf{n} = -4\). Therefore,
Bottom Face, \(S_6\): \(S_6\) is given by \((x,y,1)\), with \(0\le x\le 3\), \(-1\le y\le 2\) and \(\mathbf{n}=-\vk\). \(\mathbf{F}\) on \(S_6\) is given by \((-x^2,y^2,-1)\) and thus \(\mathbf{F}\cdot\mathbf{n} = 1\). Therefore,
Putting these all together we have \(\int\!\!\int_S \mathbf{F}\cdot d\mathbf{S} = -27+0-3+12-36+9 = -45\).
13. Let \(\mathbf{F} = (z^2, x^2, -y^2)\). Evaluate \(\int_C \mathbf{F}\cdot d\mathbf{r}\), where \(C\) is the path traversing counterclockwise the square with sides of length \(s\) centered at \((x_0,y_0,0)\). Then divide this number by the area of the square and take the limit as \(s\to 0\). Compare this with \((\text{Curl}\,\mathbf{F})(x_0,y_0,0)\cdot\mathbf{k}\).
Bottom side, \(C_1\): \(C_1\) is given by \(\mathbf{r}(t) = (x_0-\tfrac{s}{2}, y_0-\tfrac{s}{2}, 0)+t(s,0,0)\), with \(0\le t\le 1\). \(\mathbf{r}'(t)=(s,0,0)\), \(\mathbf{F}(\mathbf{r}(t)) = (0, (x_0-\tfrac{s}{2})^2, -(y_0-\tfrac{s}{2})^2)\).
Top side, \(C_2\): \(C_2\) is given by \(\mathbf{r}(t) = (x_0+\tfrac{s}{2}, y_0+\tfrac{s}{2}, 0)+t(-s,0,0)\), with \(0\le t\le 1\). \(\mathbf{r}'(t)=(-s,0,0)\), \(\mathbf{F}(\mathbf{r}(t)) = (0, (x_0+\tfrac{s}{2})^2, -(y_0+\tfrac{s}{2})^2)\).
Right side, \(C_3\): \(C_3\) is given by \(\mathbf{r}(t) = (x_0+\tfrac{s}{2}, y_0-\tfrac{s}{2}, 0)+t(0,s,0)\), with \(0\le t\le 1\). \(\mathbf{r}'(t)=(0,s,0)\), \(\mathbf{F}(\mathbf{r}(t)) = (0, (x_0+\tfrac{s}{2})^2, -(y_0-\tfrac{s}{2})^2)\).
Left side, \(C_4\): \(C_4\) is given by \(\mathbf{r}(t) = (x_0-\tfrac{s}{2}, y_0+\tfrac{s}{2}, 0)+t(0,-s,0)\), with \(0\le t\le 1\). \(\mathbf{r}'(t)=(0,-s,0)\), \(\mathbf{F}(\mathbf{r}(t)) = (0, (x_0-\tfrac{s}{2})^2, -(y_0+\tfrac{s}{2})^2)\).
We now have
To Check:
14. Let \(C\) be the curve obtained by intersecting the cylinder \(x^2+y^2=1\) with the plane \(x+y+z=1\), and \(\mathbf{F} = -y^3\vi+x^3\vj-z^3\vk\). Set up the line integral \(\int_C \mathbf{F}\cdot d\mathbf{r}\) as a single integral over an interval of the form \([a,b]\). Now evaluate this line integral by using Stokes' Theorem.
To apply Stokes' Theorem we will integrate \(\nabla\times\mathbf{F}\) over \(S\), that portion of the given plane lying above the disk \(D: 0\le x^2+y^2\le 1\) in the \(xy\)-plane.
15. Verify Stokes' Theorem for \(\mathbf{F} = (z^2, -y^2, 0)\) and \(C\) the square of side 1 oriented as shown, lying in the \(xz\)-plane and \(S\) the open box with sides \(S_1, S_2, S_3, S_4, S_5\). What happens, if instead, you take \(S\) to be the square enclosed by \(C\)?
\(C_1: \mathbf{r}(t) = (1-t,0,0)\), \(0\le t\le 1\), \(\mathbf{r}'(t)=(-1,0,0)\), \(\mathbf{F}(\mathbf{r}(t)) = (0,0,0)\).
\(C_2: \mathbf{r}(t) = (0,0,t)\), \(0\le t\le 1\), \(\mathbf{r}'(t)=(0,0,1)\), \(\mathbf{F}(\mathbf{r}(t)) = (t^2,0,0)\).
\(C_3: \mathbf{r}(t) = (t,0,1)\), \(0\le t\le 1\), \(\mathbf{r}'(t)=(1,0,0)\), \(\mathbf{F}(\mathbf{r}(t)) = (1,0,0)\).
\(C_4: \mathbf{r}(t) = (1,0,1-t)\), \(0\le t\le 1\), \(\mathbf{r}'(t)=(0,0,-1)\), \(\mathbf{F}(\mathbf{r}(t)) = ((1-t)^2,0,0)\).
We now have, \(\int_C \mathbf{F}\cdot d\mathbf{r} = 0+0+1+0 = 1\).
To calculate the curl of \(\mathbf{F}\):
Front Face, \(S_1\): \(S_1\) is given by \((1,y,z)\), with \(0\le y\le 1\), \(0\le z\le 1\) and \(\mathbf{n}=\vi\). \(\text{Curl}\,\mathbf{F}\) on \(S_1\) is \((0,2z,0)\), so \(\text{Curl}\,\mathbf{F}\cdot\mathbf{n} = 0\). Therefore, \(\int\!\!\int_{S_1} \text{Curl}\,\mathbf{F}\cdot d\mathbf{S} = 0\).
Back Face, \(S_2\): \(S_2\) is given by \((0,y,z)\), with \(0\le y\le 1\), \(0\le z\le 1\) and \(\mathbf{n}=-\vi\). \(\text{Curl}\,\mathbf{F}\) on \(S_2\) is \((0,2z,0)\), so \(\text{Curl}\,\mathbf{F}\cdot\mathbf{n} = 0\). Therefore, \(\int\!\!\int_{S_2} \text{Curl}\,\mathbf{F}\cdot d\mathbf{S} = 0\).
Top Face, \(S_3\): \(S_3\) is given by \((x,y,1)\), with \(0\le x\le 1\), \(0\le y\le 1\) and \(\mathbf{n}=\vk\). \(\text{Curl}\,\mathbf{F}\) on \(S_3\) is \((0,2,0)\), so \(\text{Curl}\,\mathbf{F}\cdot\mathbf{n} = 0\). Therefore, \(\int\!\!\int_{S_3} \text{Curl}\,\mathbf{F}\cdot d\mathbf{S} = 0\).
Bottom Face, \(S_4\): \(S_4\) is given by \((x,y,0)\), with \(0\le x\le 1\), \(0\le y\le 1\) and \(\mathbf{n}=-\vk\). \(\text{Curl}\,\mathbf{F}\) on \(S_4\) is \((0,0,0)\), so \(\text{Curl}\,\mathbf{F}\cdot\mathbf{n} = 0\). Therefore, \(\int\!\!\int_{S_4} \text{Curl}\,\mathbf{F}\cdot d\mathbf{S} = 0\).
Right Face, \(S_5\): \(S_5\) is given by \((x,1,z)\), with \(0\le x\le 1\), \(0\le z\le 1\) and \(\mathbf{n}=\vj\). \(\text{Curl}\,\mathbf{F}\) on \(S_5\) is \((0,2z,0)\), so \(\text{Curl}\,\mathbf{F}\cdot\mathbf{n} = 2z\). Therefore,
Putting these all together we have \(\int\!\!\int_S \text{Curl}\,\mathbf{F}\cdot d\mathbf{S} = 0+0+0+0+1 = 1\), as expected, thereby confirming Stokes' Theorem.
Finally, an important consequence of Stokes' Theorem is that the surface integrals of \(\text{Curl}\,\mathbf{F}\) over two surfaces sharing a common oriented boundary are the same. Let \(S_0\) be the left face of the square in the diagram, so that \(S\) and \(S_0\) share the same oriented boundary.
\(S_0\) is given by \((x,0,z)\), with \(0\le x\le 1\), \(0\le z\le 1\) and \(\mathbf{n}=\vj\). Note that \(\vj\) is the correct normal when considering \(S_0\) as an open, oriented surface with boundary \(C\). If we were considering \(S_0\) as the 6th side of the cube, we would take \(-\vj\) as the unit normal. \(\text{Curl}\,\mathbf{F}\) on \(S_0\) is \((0,2z,0)\), so \(\text{Curl}\,\mathbf{F}\cdot\mathbf{n} = 2z\). Therefore,
16. Calculate, without using Stokes' Theorem, \(\int\!\!\int_{S_1} \nabla\times\mathbf{F}\cdot d\mathbf{S}\), for \(\mathbf{F} = (3y^2+2y)\vi+3z^2\vj+3x^2\vk\) and \(S_1\) the inverted cone \(z=1-\sqrt{x^2+y^2}\), with vertex \((0,0,1)\), and \(z\ge 0\). Then calculate directly \(\int\!\!\int_{S_2} \nabla\times\mathbf{F}\cdot d\mathbf{S}\), for \(S_2\) the unit disk in the \(xy\)-plane. The answers you get should be the same. This shows the consequence of Stokes' Theorem, that surface integrals of the curl of a vector field over surfaces sharing the same boundary are independent of the surface.
We now have
To integrate over the disk we have \(G(u,v) = (u,v,0)\) with \(0\le u^2+v^2\le 1\) and \(\mathbf{T}_u\times\mathbf{T}_v = (0,0,1)\). \(\nabla\times\mathbf{F}(G(u,v)) = (0,-6u,-6v-2)\), so \(\nabla\times\mathbf{F}(G(u,v))\cdot \mathbf{T}_u\times\mathbf{T}_v = -6v-2\). Thus,